package cn.jhc.db;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class BatchInsert {
    public static void main(String[] args) {
        Connection connection = null;
        try {
            connection = DriverManager.getConnection("jdbc:h2:~/test", "sa", "");
            SurveyItemDao.batchInsert(connection);
        } catch (SQLException e) {
            throw new RuntimeException(e);
        }
    }
}
